Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't serialize backwardCompatibleMessage field from RepositoryConflictException in V9 #122730

Merged
merged 2 commits into from
Feb 17, 2025

Conversation

arteam
Copy link
Contributor

@arteam arteam commented Feb 17, 2025

This field was deprecated in V8 and removed in #114726. We don't need to serialize it in V9

…flictException` in V9

This field was deprecated in V8 and removed in elastic#114726. We don't need to serialize it in V9
@arteam arteam added >non-issue :Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs auto-backport Automatically create backport pull requests when merged v9.0.1 labels Feb 17, 2025
Copy link
Contributor

@DaveCTurner DaveCTurner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change LGTM but this can only go into main, to land in 9.1.0, and you've labelled it for 9.0.1. I don't think there's value in backporting the change to the 9.0 branch, see this comment. We just need to remove the @UpdateForV9 markers there.

@DaveCTurner DaveCTurner added v9.1.0 and removed v9.0.1 auto-backport Automatically create backport pull requests when merged labels Feb 17, 2025
@elasticsearchmachine elasticsearchmachine added the Team:Distributed Coordination Meta label for Distributed Coordination team label Feb 17, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-distributed-coordination (Team:Distributed Coordination)

@arteam arteam merged commit fb75dc4 into elastic:main Feb 17, 2025
17 checks passed
@arteam arteam deleted the remove-repository-conflict-message-field branch February 17, 2025 10:56
arteam added a commit that referenced this pull request Feb 17, 2025
#122730 added checks in 9.1.0 that `backwardCompatibleMessage` won't be serialized
arteam added a commit that referenced this pull request Feb 17, 2025
* Remove `@UpdateForV9` from `RepositoryConflictException`

#122730 added checks in 9.1.0 that `backwardCompatibleMessage` won't be serialized

* [CI] Auto commit changes from spotless

---------

Co-authored-by: elasticsearchmachine <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs >non-issue Team:Distributed Coordination Meta label for Distributed Coordination team v9.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants